import { request } from "@/utils/service"

/** 查询客户经理 */
export function managerListApi(data: any) {
  return request({
    url:"/system/manager/list",
    method: "POST",
    data
  })
}

/** 新增客户经理 */
export function addManagerApi(data: any) {
  return request({
    url:"/system/manager/add",
    method: "POST",
    data
  })
}
/** 修改 */
export function editManagerApi(data: any) {
  return request({
    url:"/system/manager/update",
    method: "POST",
    data
  })
}
/** 查询客户经理-单个 */
export function getManagerApi(data: any) {
  return request({
    url:"/system/manager/get",
    method: "POST",
    data
  })
}
/** 修改客户经理状态 */
export function editManagerStatusApi(data: any) {
  return request({
    url:"/system/manager/updatestatus",
    method: "POST",
    data
  })
}

/** 客户经理下拉 */
export function managerSelectApi(data: any) {
  return request({
    url:"/system/manager/select",
    method: "POST",
    data
  })
}